/* eslint-disable */
// @ts-ignore
import request from '@/utils/http';

import * as API from './types';

/** 预约配置详情 GET /scenic/reserveConfig/getReserveConfig */
export async function scenicReserveConfigGetReserveConfigUsingGet({
  params,
  options,
}: {
  // 叠加生成的Param类型 (非body参数openapi默认没有生成对象)
  params: API.scenicReserveConfigGetReserveConfigUsingGetParams;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingReserveConfigVo>(
    '/scenic/reserveConfig/getReserveConfig',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}

/** 获取开放时间 POST /scenic/reserveConfig/listReserveOpen */
export async function scenicReserveConfigListReserveOpenUsingPost({
  params,
  options,
}: {
  // 叠加生成的Param类型 (非body参数openapi默认没有生成对象)
  params: API.scenicReserveConfigListReserveOpenUsingPostParams;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingListReserveOpenVo>(
    '/scenic/reserveConfig/listReserveOpen',
    {
      method: 'POST',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
